//||=========================================================================||
//||                                                                         ||
//||                          IMandelbrotCounter.h                           ||
//||                                                                         ||
//||                           by the_best_goose))                           ||
//||                                                                         ||
//||=========================================================================||

#include <QtGui/QtGui>
#include <QtCore/QtCore>

#ifndef IMANDELBROTCOUNTER_H_
#define IMANDELBROTCOUNTER_H_

class MainWindow;

//-----------------------------------------------------------------------------

class IMandelbrotCounter : public QThread
{
public:

	virtual ~IMandelbrotCounter() {};

    virtual void Init(QRgb* pixels, int y_trans, int x_before, int x_after,
                      const QSize& px_rect, const QRectF& graph_rect) = 0;

protected:

    virtual void run() = 0;
};

//-----------------------------------------------------------------------------

#endif // IMANDELBROTCOUNTER_H_
